package org.smr.ministore.service;

import org.smr.ministore.entities.GoodsImg;
import org.blade.service.base.BaseService;
import org.blade.service.base.BaseBatchService;
import org.blade.service.base.PaginationQueryService;

import java.util.List;

/**
 * @author blade
 *
 */
public interface GoodsImgService extends BaseService<Long, GoodsImg>,
                                        BaseBatchService<Long, GoodsImg>,
                                        PaginationQueryService<Long, GoodsImg> {


    /**
     * 通过商品编号获取商品图片
     * @param goodsId
     * @return
     */
    List<GoodsImg> getGoodsImgByGoods(Long goodsId);
}
